﻿<UserControl x:Class="Qplus.UI.ChatRoomControl"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    mc:Ignorable="d"
    FontFamily="{StaticResource PhoneFontFamilyNormal}"
    FontSize="{StaticResource PhoneFontSizeNormal}"
    Foreground="{StaticResource PhoneForegroundBrush}"
    d:DesignHeight="200" d:DesignWidth="200"
             Background="Transparent" Margin="0"
             xmlns:my="clr-namespace:Qplus" >
    
    <Grid x:Name="LayoutRoot" Width="200" Height="200" Margin="0" ShowGridLines="True">
        <Grid Name="ContentGrid" Margin="20" >
        <Grid.RowDefinitions>
            <RowDefinition Height="Auto"/>
            <RowDefinition/>
            <RowDefinition Height="Auto"/>
        </Grid.RowDefinitions>
        <TextBlock Name="chatRoomNameTxt" Grid.Row="0" Margin="0"/>
        <TextBlock Name="createTxt" Text="创建聊天室" Visibility="Collapsed" Grid.Row="1"
                   HorizontalAlignment="Center" VerticalAlignment="Bottom" Margin="10"/>
        <Grid Name="hotGrid" Grid.Row="2" Margin="0">
            <Grid.ColumnDefinitions>
                <ColumnDefinition Width="Auto"/>
                <ColumnDefinition/>
                <ColumnDefinition/>
                <ColumnDefinition/>
                <ColumnDefinition/>
                <ColumnDefinition/>
            </Grid.ColumnDefinitions>
            <TextBlock Text="热度" Grid.Column="0"/>
        </Grid>
        </Grid>
        <my:ButtonEx x:Name="chatRoomBtnEx" Margin="0"
                     BorderBrush="Transparent" PressedBorderBrush="LightSkyBlue" BorderThickness="10"
                     Background="Transparent" PressedBackground="Transparent" Click="chatRoomBtnEx_Click"></my:ButtonEx>
    </Grid>
</UserControl>
